Repository navigation
ci(release): CycloneDX SBOM + sha256 sidecar as release assets, build-provenance attestations (prepared) - #53
Merged
Conversation
…nce attestations Org supply-chain layer (prepared for the next owner-gated release; no dispatch): after a successful PyPI publish the release job emits a CycloneDX 1.6 JSON SBOM via cyclonedx-py over the installed environment (rooted at pyproject.toml), names it interscript-<version>.cdx.json, attaches it with a .sha256 sidecar to the GitHub release for the published version, and attests sdist+wheel+SBOM via actions/attest-build-provenance (continue-on-error). Post-publish steps never gate publishing. Versions not bumped.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cyclonedx-py environment --sv 1.6 --of json --pyproject pyproject.tomlover the installed environment (the release job alreadypip install -e .[dev]s it), namedinterscript-<version>.cdx.json, attached with a.sha256sidecar (house sidecar pattern) to the GitHub release for the published version (pypa/gh-action-pypi-publishcreates no GH release today — none exist for v0.x tags).actions/attest-build-provenance@v4(gh attestation-compatible,continue-on-error).Local verification
Fresh clone + venv:
pip install -e .thencyclonedx-py environment --sv 1.6 --of json --pyproject pyproject.toml <python>-> CycloneDX 1.6 JSON, rootinterscript 0.2.1, 37 components.Test plan
gh attestation list